package cn.mihoyo.tenement.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Housing {
    private Long hId;
    private String hTitlex;
    private BigDecimal hPrice;
    private BigDecimal hArea;
    private Date hYears;
    private Integer hType;
    private String hQuartersName;
    private Integer hStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date hCreateTime = new Date();
}
